package com.lingshu.app.service;

import com.lingshu.app.model.HttpBaseResponse;
import com.lingshu.app.model.auth.AuthUserBean;
import com.lingshu.app.model.auth.LoginBean;

import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * @author 于定金
 * @version 1.0
 * @Date 2023/12/28 13:57
 * @Description
 */
public interface AuthService {
    /**
     * app登录接口 认证中心
     * @param loginBean
     * @return
     */
    @POST("api/app/login")
    Observable<HttpBaseResponse<AuthUserBean>> login(@Body LoginBean loginBean);
}
